package cn.gok.day6;

/**
 * @ClassName Pojo
 * @Description TODO
 * @Author HP
 * @Date 14:26 2022/7/11
 * @Version 1.0
 **/
public class Pojo {
    private int age;
    private String name;
    private String sex;

    public Pojo(int age, String name, String sex) {
        this.age = age;
        this.name = name;
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    @Override
    public String toString() {
        return "Pojo{" +
                "age=" + age +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
